stubdom/ioemu link farm creation fixes
authorKeir Fraser <keir.fraser@citrix.com>
Tue, 16 Sep 2008 11:44:26 +0000 (12:44 +0100)
committerKeir Fraser <keir.fraser@citrix.com>
Tue, 16 Sep 2008 11:44:26 +0000 (12:44 +0100)
commit59bbc091e9ba50ed480b03c6341dbd915e051db0
treee461968ea16b2dd7c1a27c08b5bc67ea1ca85f27
parenta55272716395603a9b836afa0c75c65551262cd2
stubdom/ioemu link farm creation fixes

Replace the stubdom/ioemu link farm creation in stubdom/Makefile,
with code which arranges that:
 * No symlinks are made for output files - in particular, any
   symlinks for .d files would be written through by the compiler
   and cause damage to the original tree and other strange
   behaviours
 * All subdirectories are made as local subdirectories rather than
   links
 * Any interrupted or half-completed creation of the link farm
   leaves the directory in a state where the link farming will be
   restarted
 * We use make's inherent ability to test for the existence of files
   rather than using [ -f ... ] at the start of the rule's commands
 * The list of files to be excluded from the link farm can be
   easily updated
etc.

This should fix some problems particularly with parallel builds,
or by-hand builds where directories are entered in other than the
usual order.

Signed-off-by: Ian Jackson <ian.jackson@eu.citrix.com>
stubdom/Makefile